<head>
<script type="text/javascript">
	function addCampo()
	{
		var add = new Array();
		var campo = prompt("Aspecto: ");
		if(campo!=undefined){
			add.push(campo);
			<?php $phpCampo = "<script>document.write(campo)</script>"; ?>
			var valor = prompt("Valor:");
			if(valor!=undefined){
				add.push(valor);
				<?php $phpValor = "<script>document.write(valor)</script>"; ?>
				return add;
			}else{
				return false;
			}
		}else{
			return false;
		}
	}
</script>
</head>
<body>
<a href="" onclick="return addCampo()">LINK</a>
<?php echo $phpValor;?>
</body>